<html> 
<head> 
<title>XMLHTTPRequest对象的说明DEMO</title> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<script type="text/javascript" src="https://dn-portal-static.qbox.me/public/v26945/add-on/jquery/jquery-1.9.1.min.js"></script>
<script language="javascript" type="text/javascript"> 
<!-- 
function getStatus(url) 
{
	var xmlhttp;
	if(window.ActiveXObject){ //如果是IE浏览器  
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");  
    }else if(window.XMLHttpRequest){ //非IE浏览器  
        xmlhttp = new XMLHttpRequest();  
	}
	
	xmlhttp.open("get", url, false);
	xmlhttp.send(url);
	alert(xmlhttp.status);
	return xmlhttp.status;
}
$.get("http://documentsonline.qiniudn.com/2014-10-01_542b827a1ce4c.xls?odconv/pdf",function(data,status){
      //alert("数据：" + data + "\n状态：" + status);
    }).success(function(data,textStatus,jqXHR){alert(jqXHR.status);})
//--> 
</script> 
</head> 
<body> 
<form name="frmTest">   
    <input name="myButton" type="button" value="Click Me" onclick="getStatus('http://documentsonline.qiniudn.com/2014-10-01_542b827a1ce4c.xls?odconv/pdf');"> 
</form>   
</body> 
</html>